307c3bcbf7a543b265a3db193680f417fe3850f3,src/org/exist/xquery/GeneralComparison.java,GeneralComparison,quickNodeSetCompare,#Sequence#,337
Before Change
if(result == null) //if first iteration
{
result = context.getBroker().getValueIndex().find(relation, docs, nodes, (Indexable)key);
}
else
{
After Change
else
{
//key with truncation, match key
context.getProfiler().message(this, Profiler.OPTIMIZATIONS, "OPTIMIZATION", "Using value index '" + context.getBroker().getValueIndex().toString() +
"' to match key '" + Type.getTypeName(key.getType()) + "(" + key.getStringValue() + ")'");
try
{